package com.example.lotterysystem.service;

/**
 * Created with IntelliJ IDEA.
 * Description: 验证码服务
 * User: Spider-Man
 * Date: 2025-09-09
 * Time: 17:00
 */
public interface VerificationCodeService {

    /**
     * 发送验证码
     * @param phoneNumber
     */
    void sendVerificationCode(String phoneNumber);


    /**
     * 从缓存中获取验证码
     * @param phoneNumber
     * @return
     */
    String getVerificationCode(String phoneNumber);
}
